home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Prog
/
T
/
TCL⁄C 1.1.2 Update.cpt
/
About TCL 1.1.2
Wrap
Text File
|
1992-01-10
|
6KB
|
166 lines
ABOUT THINK CLASS LIBRARY 1.1.2
===============================
Copyright © 1992 Symantec Corporation. All rights reserved.
January 9, 1992
Font: Geneva 12
INTRODUCTION
=============
The THINK Class Library 1.1.2 fixes some bugs in the THINK Class Library
1.1, included with THINK C 5.0.
•••••••••
IMPORTANT
•••••••••
Some copies of the Object-Oriented Programming Manual have
a misprint: page 313 is a duplicate of page 321. This update
puts a copy of the correct page 313 in the “TCL 1.1 Doc”
folder.
This document has three more sections:
• UPDATING THINK CLASS LIBRARY tells you how to run “TCL/C
1.1.2 Update.sea” to update your THINK Class Library to 1.1.2.
• WHAT THIS UPDATE FIXES lists the most significant bugs that
this update fixes.
• LAST MINUTE CHANGES contains a correction to the Object-
Oriented Programming Manual.
UPDATING THINK CLASS LIBRARY
==============================
The application “TCL/C 1.1.2 Update.sea” transforms your existing THINK
Class Library from version 1.1 to 1.1.2. It replaces 25 files in the THINK
Class Library. For a list of the files, see “What this update replaces” below.
This update uses a self-extracting archive, an application that contains
compressed files which it decompresses and installs on your hard disk.
1. Make sure that you have a copy of the original THINK Class
Library. You won't need it for this update, but you should make
sure that you have a backup in case the update fails. Do not
patch your original master disk.
2. Make sure that you haven’t changed the names of any of the
folders. If the update can’t find a folder with exactly the right
name, it will create a new folder to put its files in, and it
won’t update your files. Most importantly, the folder containing
all the TCL files must be named “THINK Class Library 1.1” and
the folder containing the TCL demos must be named “TCL 1.1
Demos”.
3. Double-click on the the application “TCL/C 1.1.2 Update.sea.”
A dialog appears summarizing what this program does. Click
anywhere to continue.
4. A standard file dialog appears. Move to your Development folder
and click Extract.
5. A dialog appears telling you that CDemoApp.c already exists.
Click “Replace ALL Duplicates.”
6. The archive decompresses its files and places them on your hard
disk. It displays its progress in a dialog. The archive quits
when it’s done.
WHAT THIS UPDATE REPLACES
===========================
This update replaces 33 files in the THINK Class Library. Two are
documentation files, two are code files in the NewClassDemo, and 30 are
code files in the THINK Class Library.
Here are the 30 code files in the “THINK Class Library 1.1” folder, organized
by folder.
In the “Control classes” folder:
• CButton.c
• CIconPane.c
• CIconPane.h
• CPopupMenu.c
• CPopupPane.c
• CStdPopupPane.c
In the “Core classes” folder
• CControl.h in the “Core Headers” folder
• CDirector.h in the “Core Headers” folder
• CApplication.c in the “Core Sources” folder
• CControl.c in the “Core Sources” folder
• CDesktop.c in the “Core Sources” folder
• CDirector.c in the “Core Sources” folder
• CDocument.c in the “Core Sources” folder
• CPane.c in the “Core Sources” folder
• CPaneBorder.c in the “Core Sources” folder
• CPanorama.c in the “Core Sources” folder
• CPrinter.c in the “Core Sources” folder
• CRunArray.c in the “Core Sources” folder
In the “Dialog classes” folder:
• CDLOGDialog.c
In the “FW/Tearoffs” folder:
• CFWDesktop.c
• CMenuDefProc.c
In the “Table classes” folder:
• CArrayPane.c
• CTable.c
• CTable.h
In the “TCL Libraries” folder:
• OSChecks.h in the “TCL Library headers” folder
• TCLUtilities.h in the “TCL Library headers” folder
• OSChecks.c in the “TCL Library sources” folder
• TBUtilities.c in the “TCL Library sources” folder
In the “Text classes” folder:
• CAbstractText.c
• CEditText.c
Here is a documentation file in the “TCL 1.1 Doc” folder of the
“THINK Class Library 1.1” folder:
• OOP page 313
And here are two files that are replaced in the “NewClassDemo Folder” in
the “TCL 1.1 Demos” folder:
• CDemoApp.h in the “Demo headers” folder
• CResBrowser.c in the “Demo sources” folder
LAST MINUTE CHANGES
====================
This section lists some last minute changes and corrections to the THINK C
Object-Oriented Programming Manual. There are more last minute changes and
corrections in the READ ME file in the “TCL 1.1 Doc” folder.
Installing the THINK Class Library
-------------------------------
• After buidling Starter.π, its size is about 2 megabytes. The size given in
the section “Building the Starter Project” is incorrect.
CDataFile
---------
• On page 265, the example for ReadAll() should look like this, in C:
Handle theData;
. . .
theData = myDataFile->ReadAll();
. . .
And it should look like this in C:
var
theData: Handle;
begin
. . .
theData = myDataFile.ReadAll;
. . .
end;
CPanorama
----------
• On page 375, the declaration for the ScrollTo method should look like
this, in C:
void ScrollTo( LongPt *aPosition, Boolean redraw );
And like this, in Pascal:
procedure ScrollTo( aPosition: LongPt; redraw: Boolean );